package com.guigu.pd.work.controller;

import java.util.Arrays;
import java.util.Map;


import com.alibaba.fastjson.JSON;
import com.guigu.common.utils.PageVo;
import com.guigu.pd.work.entity.TransportOrderEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.guigu.pd.work.entity.DriverJobEntity;
import com.guigu.pd.work.service.DriverJobService;
import com.guigu.common.utils.PageUtils;
import com.guigu.common.utils.R;



/**
 * 司机作业单
 *
 * @author deyran
 * @email deyran@gmail.com
 * @date 2022-07-19 19:31:34
 */
@RestController
@RequestMapping("work/driverjob")
public class DriverJobController {
    @Autowired
    private DriverJobService driverJobService;

    /**
     * 列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params){
        PageVo<DriverJobEntity> page = driverJobService.queryPage(params);

        return R.ok().put("page", page);
    }

}
